package com.vancouver.knows.business.service.impl;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.vancouver.knows.business.bean.VersionInfo;

/**
 * 版本更新列表解析
 * Created by llf
 */
public class VersionInfoHandler extends ACheckableJsonParser{
	private VersionInfo verInfo = null;
	@Override
	protected void parserContent(JSONObject content) throws Exception {
		String posts = content.getString("data");
		verInfo = JSON.parseObject(posts, VersionInfo.class);
		
	}
	public VersionInfo getVersionInfo(){
		return verInfo;
	}
	
}
